package com.lcf.system.vo.dict;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lcf.system.enums.SysDictStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 字典值(SysDict)表实体类
 *
 * @author lcf
 * @since 2025-03-16 22:04:23
 */
@NoArgsConstructor
@Data
public class SysDictDetailVO {
    @Schema(description = "主键id")
    private Long id;

    //类型id
    @Schema(description = "类型id")
    private Long typeId;
    //字典值
    @Schema(description = "字典值")
    private String dictValue;
    //字典名称
    @Schema(description = "字典名称")
    private String dictName;
    //排序
    @Schema(description = "排序")
    private Integer sortOrder;
    //字典状态1启用0停用
    @Schema(description = "字典状态1启用0停用")
    private SysDictStatusEnum status;
    //备注
    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonIgnore
    @Schema(description = "创建人id")
    private Long createBy;

    @Schema(description = "创建人姓名")
    private String createUser;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @JsonIgnore
    @Schema(description = "更新人id")
    private Long updateBy;

    @Schema(description = "更新人姓名")
    private String updateUser;
}

